﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//Thêm thư viện
using KaraokeManagementDAO;
using KaraokeManagementDTO;

namespace KaraokeManagementBUS
{
    public class ChiTietPhieuDatPhongBUS
    {
        ChiTietPhieuDatPhongDAO dao = new ChiTietPhieuDatPhongDAO();

        public Boolean themChiTiet(ChiTietPhieuDatPhongDTO dto)
        {
            return dao.themChiTiet(dto);
        }

        public Boolean xoaChiTiet(int MaChiTiet)
        {
            return dao.xoaChiTiet(MaChiTiet);
        }

        public Boolean capNhatChiTiet(ChiTietPhieuDatPhongDTO dto)
        {
            return dao.capNhatChiTiet(dto);
        }

        public ChiTietPhieuDatPhongDTO layThongTinChiTiet(int MaChiTiet)
        {
            return dao.layThongTinChiTiet(MaChiTiet);
        }

        public List<ChiTietPhieuDatPhongDTO> layDanhSachChiTiet(int MaPhieuDatPhong)
        {
            return dao.layDanhSachChiTiet(MaPhieuDatPhong);
        }
    }
}
